﻿using HY.Web.Controllers;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace HY.Web.Areas.Test.Controllers
{
    [Area("Test")]
    public class AreaTestController : BaseController
    {
        public AreaTestController(ILogger<AreaTestController> logger) : base(logger)
        {
        }
        [Authorize]
        public IActionResult Index()
        {
            logger.LogInformation($"areatest/index:username={UserName}");
            return View();
        }
    }
}
